package cn.johnyu.consumer.client;

import cn.johnyu.commons.model.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "http://provider-service")
public interface ProviderClient {
    @GetMapping("/product")
    Product findProduct();
}
